package com.example.service.impl;

import com.example.entity.Student;
import com.example.mapper.StudentMapper;
import com.example.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public String saveStudent() {
        return "添加学生";
    }

    @Override
    public String getStuentById() {
        return "查询单个学生";
    }

    @Override
    public String getStudentList() {
        return "查询学生列表";
    }

    @Override
    public String deleteStudentById() {
        return "删除学生";
    }

    @Override
    public String updateStudent() {
        return "更新学生";
    }

}
